package com.yinhai.message.manage.statistical.vo;

import java.util.HashMap;
import java.util.Map;

/**
 * @author:TANQINGPING
 * @version:1.0 2017/4/18
 * package:com.yinhai.message.manage.statistical.vo
 * <p>Title: MessageAnalysisVo.java</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: 四川久远银海软件股份有限公司</p>
 */

public class MessageAnalysisVo {
    private String type;
    private Long count;

    public MessageAnalysisVo() {
    }

    public MessageAnalysisVo(String type, Long count) {
        this.type = type;
        this.count = count;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Map toMap() {
        HashMap map = new HashMap();
        map.put("type", this.getType());
        map.put("count", this.getCount());
        return map;
    }
}
